package com.blue.wechat.receive.model;

import com.blue.core.dict.WechatEvent;

/**
 * 微信请求事件信息
 * 
 * @author zhengj
 * @since 1.0 2017年1月29日
 */
public class EventRequest extends AbstractRequest
{
	private WechatEvent event;
	private String eventKey;
	private String ticket;
	private Double latitude;
	private Double longitude;
	private Double precision;
	private String status;

	public EventRequest()
	{
	}
	
	public void setStrEvent(String event)
	{
		this.event = WechatEvent.getType(event);
	}

	public WechatEvent getEvent()
	{
		return event;
	}

	public void setEvent(WechatEvent event)
	{
		this.event = event;
	}

	public String getEventKey()
	{
		return eventKey;
	}

	public void setEventKey(String eventKey)
	{
		this.eventKey = eventKey;
	}

	public String getTicket()
	{
		return ticket;
	}

	public void setTicket(String ticket)
	{
		this.ticket = ticket;
	}

	public Double getLatitude()
	{
		return latitude;
	}

	public void setLatitude(Double latitude)
	{
		this.latitude = latitude;
	}

	public Double getLongitude()
	{
		return longitude;
	}

	public void setLongitude(Double longitude)
	{
		this.longitude = longitude;
	}

	public Double getPrecision()
	{
		return precision;
	}

	public void setPrecision(Double precision)
	{
		this.precision = precision;
	}

	public String getStatus()
	{
		return status;
	}

	public void setStatus(String status)
	{
		this.status = status;
	}

}
